home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global ragman, ragid, stay
- go("choices")
- if not (the soundBusy of 1) then
- repeat with xxx = 0 to 10
- if rollOver(xxx + 2) and (value(ragman) <> xxx) then
- puppetSprite(ragman + 2, 0)
- if the number of cast ("b" & ragman) > 0 then
- set the castNum of sprite (ragman + 2) to the number of cast ("b" & ragman)
- end if
- set ragman to xxx
- set ragid to the number of cast ("b" & ragman)
- puppetSprite(xxx + 2, 1)
- set the castNum of sprite (xxx + 2) to the number of cast ("b" & ragman & "a")
- updateStage()
- end if
- end repeat
- end if
- if the mouseDown and not rollOver(1) then
- set stay to 0
- puppetSound(0)
- sound stop 1
- sound stop 2
- forget(window "pagebar")
- end if
- end
-